<?php

namespace Sisesporte\Entity;

use Doctrine\ORM\Mapping as ORM,
        Doctrine\Common\Collections\ArrayCollection;
/**
 * @ORM\Entity
 * @ORM\Table(name="turma_dia")
 * @ORM\Entity(repositoryClass="Sisesporte\Repository\TurmaDiaRepository")
 */
class TurmaDia {

    public function __construct($options = null) {
        Configurator::configure($this,$options);
    }
    
    /**
     * @var integer $sqTurmaDia
     *
     * @ORM\Column(name="sq_turma_dia", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    protected $sqTurmaDia;
    
    /**
     * @var $deDia
     * @ORM\Column(name="de_dia", type="text", nullable=false)
     */
    protected $deDia;
    
    /**
     * @var boolean $stAtivo
     * @ORM\Column(name="st_ativo", type="boolean", nullable=true)
     */
    protected  $stAtivo;
    
    public function getSqTurmaDia() {
        return $this->sqTurmaDia;
    }

    public function getDeDia() {
        return $this->deDia;
    }

    public function setDeDia($deDia) {
        $this->deDia = $deDia;
    }

    public function getStAtivo() {
        return $this->stAtivo;
    }

    public function setStAtivo($stAtivo) {
        $this->stAtivo = $stAtivo;
    }

    public function toArray() {
        return array(
            'sqTurmaDia'=>$this->getSqTurmaDia(),
            'deDia'=>  $this->getDeDia(),
            'stAtivo'=>$this->getStAtivo()
            );
    }
}
